<?php
$action='';
if(isset($_GET['action']))
{
	$action=$_GET['action'];
}
switch ($action) {
	case 'add':include 'add.php';break;
	case 'del':include 'del.php';break;
	case 'edit':include 'edit.php';break;
	default: include 'view.php';
}
?>